package io.github.wanggit.antcms.server.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

@TableName("ant_setting_discuss")
public class AntSettingDiscuss implements Serializable {
    private static final long serialVersionUID = 999557735299289565L;

    @TableId(type = IdType.AUTO)
    private Long id;
    /** 0允许评论，1不能评论 */
    private Short allowDiscuss;
    /** 评论内容是否要审核之后才生效。0不需要审核，1要审核 */
    private Short needAudit;
    /** 有新评论需要审核时发送邮件通知 */
    private String discussNotifyMail;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Short getAllowDiscuss() {
        return allowDiscuss;
    }

    public void setAllowDiscuss(Short allowDiscuss) {
        this.allowDiscuss = allowDiscuss;
    }

    public Short getNeedAudit() {
        return needAudit;
    }

    public void setNeedAudit(Short needAudit) {
        this.needAudit = needAudit;
    }

    public String getDiscussNotifyMail() {
        return discussNotifyMail;
    }

    public void setDiscussNotifyMail(String discussNotifyMail) {
        this.discussNotifyMail = discussNotifyMail;
    }
}
